package com.qf.business.search.entity;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * author Ken
 * create_time 2022/12/2
 */
@Data
@Accessors(chain = true)
public class SearchParam {

    private String keyword;

    //排序类型 null or 1 - 相关度排序  2 - 价格排序
    private Integer sortType = 1;

    //排序的类型 0 - 升序 1 - 降序
    private Integer sortFlag = 0;

    //第几页
    private Integer pageNum = 1;

    //每页多少条
    private Integer pageSize = 20;
}
